package cn.uexpo.lhz.biz;


import java.util.List;

import cn.uexpo.lhz.common.oldBase.BaseBizWithBLOBs;
import cn.uexpo.lhz.domain.EquipmentTraffic;
import cn.uexpo.lhz.domain.EquipmentTrafficExample;
import cn.uexpo.lhz.domain.vo.EquipmentTrafficVo;


public interface EquipmentTrafficBiz extends BaseBizWithBLOBs<EquipmentTraffic, EquipmentTrafficExample>{

	// 可以根据多个字段进行模糊查询
    List<EquipmentTraffic> listShow(EquipmentTraffic equipmentTraffic);

//    PageResult findPage1(PageRequest pageRequest, EquipmentTraffic equipmentTraffic) throws  BOException;

    // 根据多个字段进行查询
    List<EquipmentTraffic> listS(EquipmentTraffic equipmentTraffic);

//    PageResult findPage2(PageRequest pageRequest, EquipmentTraffic equipmentTraffic) throws  BOException;

    //新添方法  添加数据 staffid去重
    long countByStaffidExample(EquipmentTrafficExample example);

    //新添方法  添加数据 身份证号去重
    long countByIdcExample(EquipmentTrafficExample example);

    //根据日期查询
    List<EquipmentTraffic> selectByDate(EquipmentTraffic equipmentTraffic);

    //根据日期查询分页
//   PageResult findByDate(PageRequest pageRequest, EquipmentTraffic equipmentTraffic) throws  BOException;


    //根据日期查询加模糊查询
    List<EquipmentTraffic> listSelectByDate(EquipmentTraffic equipmentTraffic);

    //根据日期加模糊查询分页
//    PageResult findByDateList(PageRequest pageRequest, EquipmentTraffic equipmentTraffic) throws  BOException;

    //查询通行结果去重
    List<String> selectDistinctResults();

    List<EquipmentTrafficVo> listEquipmentTrafficVo(EquipmentTrafficVo equipmentTrafficVo);

    Integer selectCount();
}
